package com.kr.weitao.util.rest.dataengine;

import com.alibaba.fastjson.JSONObject;
import com.kr.weitao.util.rest.schema.Column;
import com.kr.weitao.util.rest.schema.Function;
import org.springframework.stereotype.Component;

import java.util.List;

/** Created by paco on 2017/06/21. */
@Component
public class HBaseDataEngine implements DataDisposeEngine {

//  @Autowired HBaseSqlEngine hBaseSqlEngineImpl;

  @Override
  public long insert(String sql, Object[] param) {
    return 0;
  }

  @Override
  public int update(String sql, Object[] param) {
    return 0;
  }

  @Override
  public int delete(String sql, Object[] param) {
    return 0;
  }

  @Override
  public JSONObject getJSONArray(
      Function function, List<Column> field, LogicExpression le, JSONObject param) {
    return null;
  }

  @Override
  public JSONObject getJSONObject(
      Function function, List<Column> field, LogicExpression le, JSONObject param) {

    return null;
  }
}
